← Back
Editing: jdtounix_error1.phpt
--TEST-- Test jdtounix() function : error conditions --CREDITS-- edgarsandi - <edgar.r.sandi@gmail.com> --INI-- date.timezone=UTC --SKIPIF-- <?php include 'skipif.inc'; ?> --FILE-- <?php try { jdtounix(2440579); } catch (ValueError $ex) { echo $ex->getMessage(), PHP_EOL; } ?> --EXPECTF-- jday must be between 2440588 and %d
Save File
Cancel